/**
 * 
 */
package org.softTank.BC.rs.bean;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;

/**
 * @author Yuzone
 *
 */
@XmlRootElement(name = "operation")
@XmlAccessorType(XmlAccessType.FIELD)
public class OperationBean {

	@XmlAttribute
	private String name;
	@XmlAttribute
	private String id;
	@XmlAttribute
	private TBoolean hasInput;
	@XmlAttribute
	private TBoolean hasOutput;
	@XmlTransient
	private String isBranch;
	@XmlTransient
	private MessageTypeBean input;
	@XmlTransient
	private MessageTypeBean output;
	@XmlTransient
	private MessageTypeBean fault;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public TBoolean getHasInput() {
		return hasInput;
	}

	public void setHasInput(TBoolean hasInput) {
		this.hasInput = hasInput;
	}

	public TBoolean getHasOutput() {
		return hasOutput;
	}

	public void setHasOutput(TBoolean hasOutput) {
		this.hasOutput = hasOutput;
	}

	public String getIsBranch() {
		return isBranch;
	}

	public void setIsBranch(String isBranch) {
		this.isBranch = isBranch;
	}

	public MessageTypeBean getInput() {
		return input;
	}

	public void setInput(MessageTypeBean input) {
		this.input = input;
	}

	public MessageTypeBean getOutput() {
		return output;
	}

	public void setOutput(MessageTypeBean output) {
		this.output = output;
	}

	public MessageTypeBean getFault() {
		return fault;
	}

	public void setFault(MessageTypeBean fault) {
		this.fault = fault;
	}

}
